package com.gopay.common.domain.approval;

import java.util.Date;

import com.gopay.common.domain.BaseEntity;

/**
 * 审批历史
 * 
 * @History.java
 * @author yaobo
 * @2013-1-16 上午11:14:32 www.gopay.com.cn Inc.All rights reserved.
 */
public class History extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -7829484094372886100L;

    /**
     * 历史记录流水号
     */
    private int id;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 用户名称，用于展示 add by XuHui 2016年7月15日
     */
    private String userName;

    /**
     * 角色ID
     */
    private String roleId;

    /**
     * 审批角色名称
     */
    private String roleName;

    /**
     * 审批决定
     * 
     * 1 - 通过 2 - 拒绝
     */
    private int decision;

    /**
     * 步骤号
     */
    private int stepNum;

    /**
     * 审批时间
     */
    private Date approvalTime;

    /**
     * 审批决议备注
     */
    private String rearmk;

    public String getRearmk() {
        return rearmk;
    }

    public void setRearmk(String rearmk) {
        this.rearmk = rearmk;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public int getDecision() {
        return decision;
    }

    public void setDecision(int decision) {
        this.decision = decision;
    }

    public int getStepNum() {
        return stepNum;
    }

    public void setStepNum(int stepNum) {
        this.stepNum = stepNum;
    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }

}
